package com.example.mapper;

import com.example.pojo.Role;
import org.apache.ibatis.annotations.Param;
import java.util.List;


/**
 * Created by sang on 2018/1/1.
 */
public interface RoleMapper {

    List<Role> roles();

    int addNewRole(@Param("role") String role, @Param("roleZh") String roleZh);

    int deleteRoleById(Long rid);
}
